package com.baosight.sczx.zm.ca.service;

import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.ep.ServiceEPBase;
import com.baosight.sczx.zm.ca.domain.VZMCA24;
import com.baosight.sczx.zm.ca.domain.ZMCA4101;
import com.baosight.sczx.common.zm.Utils;
public class ServiceZMCA24 extends ServiceEPBase{
	/**
	 * 页面初始化，返回组织好的层级小代码
	 * 
	 * @param EiInfo
	 * @return EiInfo
	 */
	public EiInfo initLoad(EiInfo inInfo) {
		return inInfo;//return this.query(inInfo);
	}
	
	public EiInfo queryProblemType(EiInfo inInfo) {
		ZMCA4101 m = new ZMCA4101();
		inInfo.addBlock(Utils.generateOutBlock("result", m, inInfo, "ZMCA4101.initQuery", false));
		return inInfo;
	}

	public EiInfo queryAll(EiInfo inInfo) {
		VZMCA24 m = new VZMCA24();
		inInfo.addBlock(Utils.generateOutBlock("result", m, inInfo, "ZMCA24.queryAll", false));
		return inInfo;
	}
	
	public EiInfo queryByProblemType(EiInfo inInfo) {
		VZMCA24 m = new VZMCA24();
		inInfo.addBlock(Utils.generateOutBlock("result", m, inInfo, "ZMCA24.queryByProblemType", false));
		return inInfo;
	}
}
